<!-- Teacher_TrainSignUp.html -->
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
    <title>培训报名</title>
    <link rel="stylesheet" href="../../css/CFNetPP_Base.css">
</head>
<body>
    <div class="base_style_color " id="BarAppearance" style="height: 22px;width: 100%"></div>
    <div class="base_navigation_bar base_style_color base_navigation_item_bar">
        <a class="base_left_item" href="#" onclick="backClick()">
            <img class="base_back_icon" src="../../image/icon_jiantou.png" alt="">
        </a>
        <span id="nav_title"></span>
        <a class="base_right_item base_hide_item">
        </a>
    </div>
</body>
<script type="text/javascript" src="../../script/jquery.min.js"></script>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/MD5.js"></script>
<script type="text/javascript" src="../../script/requestTool.js"></script>
<script type="text/javascript" src="../../script/common.js"></script>
<script type="text/javascript">
    apiready = function(){
        SendBehaviorTrajectoriesNotifi1('0', '培训报名页', '141',api.pageParam.lastPageUrl, api.pageParam.lastPageName, 'widget://html/Teacher_Teach/Teacher_TrainSignUp.html', '培训报名');
    	setupDongTaiDetail();
    	setupSubframe();
    }
    function setupDongTaiDetail(){
    
    	var pageparam = api.pageParam;
        var title = pageparam.cname;
        if (title == null || title == '') {
            title = pageparam.title;
        }
    	$('#nav_title').text(title);
    }
    function setupSubframe(){
        var y = $('#BarAppearance').height() + $('.base_navigation_bar').height();
        var h = api.winHeight - y;
        // var url = "http://wxcenter.cfnet.org.cn/index.php?m=Apply&c=Apply&a=applyTrain&appsource=appcfnet&uid="+$api.getStorage('cfnetppuid');
        var url;
        if (api.pageParam.signUpStatus == 1) {
            url = api.pageParam.signUpedUrl;
        }else{
            url = isfreelogin(api.pageParam.islogin, api.pageParam.signUpUrl);
        }
        api.openFrame({
            name: 'trainSignUp',
            url: url,
            rect: {
                x: 0,
                y: y,
                w: 'auto',
                h: h
            },
            progress:{//设置进度条类型和样式
                type:'page',
                color:'#45C01A'
            }
        });
    }
    function backClick(){
        SendBehaviorTrajectoriesNotifi1('1', '培训报名页', '141',api.pageParam.lastPageUrl, api.pageParam.lastPageName, 'widget://html/Teacher_Teach/Teacher_TrainSignUp.html', '培训报名');
        api.closeWin();
    }
</script>
</html>
